﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.SharePoint;

namespace SPMetadataSecurity
{
    [Serializable]
    public class MetadataSecuirtyConfiguration 
    {        
        private List<Rule> _configurationRules;
        public string ContentTypeId { get; set; }
        public List<Rule> ConfigurationRules 
        { 
          get
          {
            if(_configurationRules == null)
            {
                _configurationRules = new List<Rule>();
            }
            return _configurationRules;
          }            
          set
          {
              _configurationRules = value;
          }
        }
    }
}
